<template>
	<view class="unquality-check-item">
		<view class="desc">问题描述：
			<input v-model="inspect['描述']" type="text" placeholder="请输入问题描述">
		</view>
		<view class="img-content">
			<text>现场照片:</text>
			<upload :boxWidth="140"></upload>
		</view>
	</view>
</template>

<script>
	import upload from './upload.vue'
	export default {
		components: {
			upload
		},
		props:{
			inspect: {
				type: Object
			}
		},
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss">
	.unquality-check-item {
		width: 674rpx;
		height: 258rpx;
		padding: 20rpx;
		border: 2rpx solid #B5B5B5;
		margin-bottom: 20rpx;
		.desc {
			margin-bottom: 20rpx;
			display: flex;
			input {
				width: 450rpx;
			}
		}
		.img-content {
			display: flex;
			.img-item {
				width: 140rpx;
				height: 140rpx;
				margin: 10rpx;
				.img {
					width: 100%;
					height: 100%;
				}
			}
		}
	}
</style>
